package com.kingtao.message;

import lombok.Data;

/**
 * @Author: kingtao
 * @Date: 2023-08-23-15:46
 * @Description:
 */
@Data
public class AppendLeaderLogEntryResponse extends Message {
    String str;
    boolean success;

    public AppendLeaderLogEntryResponse(boolean success) {
        this.success = success;
    }

    public AppendLeaderLogEntryResponse(String str, boolean success) {
        this.str = str;
        this.success = success;
    }

    @Override
    public int getMessageType() {
        return 9;
    }
}
